<template>
	<view>
		<h2 class="sectionWrap__title"><strong class="sectionWrap__title__deco">{{titlesx}}</strong></h2>
	</view>
</template>

<script>
	
	export default {
	  name: 'title',
	  data () {
	    return {
	    }
	  },
	  props: {
	    titlesx: {
	      type: String,
	      default: ''
	    },
	    color: {
	      type: String,
	      default: '#999'
	    },
		},
	}
</script>

<style>
	.sectionWrap__title__deco {
	    font-weight: lighter
	}
	.sectionWrap__title { 
	    color: #999;
	    font-size: 20px;
	    line-height: 30px;
	    padding: 20px 0;
	    text-align: center
	}
	 .sectionWrap__title {
	    position: relative
	}
	
	
	
	.sectionWrap__title:before {
	    background-image: linear-gradient(270deg,#999,hsla(-1, 0%, 100%, 0.0));
	    left: 20%
	}
	
	.sectionWrap__title:after {
	    background-image: linear-gradient(90deg,#999,hsla(-1, 0%, 100%, 0.0));
	    right: 20%
	}
	
 	 .sectionWrap__title:after,.sectionWrap__title:before {
	    content: "";
	    height: 1px;
	    margin-top: -1.5px;
	    position: absolute;
	    top: 50%;
	    width: 30px
	} 
	
	
	.sectionWrap__title__deco {
	    display: block;
	    margin: 0 auto;
	    position: relative;
	    width: 164px
	}
	
/* 	.sectionWrap__title__deco:after,.sectionWrap__title__deco:before {
	    background-color: #999;
	    content: "";
	    height: 10px;
	    margin-top: -6px;
	    position: absolute;
	    top: 50%;
	    transform: rotate(45deg);
	    width: 10px
	} */
	
	.sectionWrap__title__deco:before {
	    left: -10px
	}
	
	.sectionWrap__title__deco:after {
	    right: -10px
	}
</style>